jQuery(document).ready(function(){

	var options= {
		beforeSubmit: function(arr, $form, options) {   
			jQuery('.ajax-effect').show();
		},
		success : function(responseText){
			jQuery('.ajax-effect').hide();
			jQuery('#list_post_get').html(responseText);
		}
	}
	jQuery('#aggregator').ajaxForm(options);
	
	var upload_option = {
		success : function(responseText){
			jQuery('.upload_test').html(responseText);
		}
	};
	
	jQuery('#upload_thumbnail').ajaxForm(upload_option);
})